package com.it.emall.service.impl;

import com.it.emall.domain.BannerAd;
import com.it.emall.mapper.BannerAdMapper;
import com.it.emall.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerServiceImpl implements BannerService {


    @Autowired
    private BannerAdMapper bannerAdMapper;

    @Override
    public List<BannerAd> selectBnnerList() {
        return bannerAdMapper.selectBannerList();
    }
}
